import request from '@/utils/request'

export function listSearch(data){
    return request({
        url:"/merchant/findAllByPage",
        method:"post",
        data
    })
}
export function delById(data){
    return request({
        url:"/merchant/del?homeId="+data,
        method:"post",
        data
    })
}
export function delByIds(data){
    return request({
        url:"/merchant/delByIds",
        method:"post",
        data
    })
}
export function merchantupdate(data){
    return request({
        url:"/merchant/saveOrUpdate",
        method:"post",
        data
    })
}

export function resumeOrCancel(data){
    return request({
        url:"/merchant/resumeOrCancel",
        method:"post",
        data
    })
}